#ifndef CVTABITEM_H
#define CVTABITEM_H

#include <QWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QImage>
#include <QPixmap>

#include "cvlist.h"
#include "cvloadingwidget.h"
#include "clickablelabel.h"

class CVTabItem : public QWidget
{
    Q_OBJECT
public:
    explicit CVTabItem(QWidget *parent = 0);
    
    CVList *getList();
    virtual void load() = 0;
signals:
    
public slots:

protected:
    ClickableLabel *refresh;
private:
    QVBoxLayout *mainLayout;
    QHBoxLayout *topLayout;

    CVList *cvList;
    CVLoadingWidget *loader;
};

#endif // CVTABITEM_H
